export async function loadAgreement(type) {
  let content = ''
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      if (type === 'privacy') {
        content = '隐私政策'
      } else if (type === 'service') {
        content = '服务条款'
      } else {
        content = '用户协议'
      }
      resolve(content)
    }, 1000)
  })
}
